package com.scn.base.dao.impl;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.scn.base.dao.SysFuncDao;


public class SysFuncDaoImpl extends SqlMapClientDaoSupport implements SysFuncDao{

	public List selectFuncByMenu(Map param) {
		List list = new ArrayList();
		list = getSqlMapClientTemplate().queryForList("selectFuncByMenu",param);
		if(list != null && list.size() > 0){
			return list;
		}else{
		    return null;
		}
	}

	public List selectAllFuncByMenu(String smid) {
		List list = new ArrayList();
		list = getSqlMapClientTemplate().queryForList("selectAllFuncByMenu",smid);
		if(list != null && list.size() > 0){
			return list;
		}else{
		    return null;
		}
	}

}
